package cn.itsource.ymcc.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties("file.alicloud")
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OssFileProperties {

    private String bucketName;// ymcc-0921-gwk #上传空间bucket
    private String accessKey;// LTAI5tLN1MLCPqJg4bwUn36k #你的key
    private String secretKey;// KGSRGKqZQxnLqEvU9W8z9EGivRvog5 #你的秘钥
    private String endpoint;// oss-cn-chengdu.aliyuncs.com  #上传端点
}
